package com.example.mybatis.entity;

import lombok.Data;

import java.util.Date;

@Data
public class Orders {
    // 订单id
    private int id;
    // 用户id
    private Integer userId;
    // 订单号
    private String number;
    // 订单创建时间
    private Date createTime;
    // 备注
    private String note;

    private User user;
}
